package com.maotouying.owlsmart.SmartUtil.Http;

import android.content.Context;

import com.alibaba.fastjson.JSONObject;
import com.maotouying.owlsmart.SmartUtil.File.FileoOperations;


public class imagePath {

    private String imagePath = "";//主地址
    private Context mContext;
    //传上下文
    public String getPath(Context context){

        this.mContext = context;
        String ConfigFiles_json = FileoOperations.readAssetsTxt(mContext, "GlobalFile");
        JSONObject objsd = JSONObject.parseObject(ConfigFiles_json);
        String ciphertext = objsd.getString("ImagePath");//地址密文
        imagePath = ciphertext;


        return imagePath;
    }

}
